package com.it.park.rms.constant;

public enum UserType {

	IS_ADMIN(1),
	IS_NOT_ADMIN(0);
	
	public final  Integer userTypeCode;
	
	private UserType(Integer userTypeCode){
		this.userTypeCode = userTypeCode;
	}
	
	public static Integer getUserTypeCode(UserType userType){
		return userType.userTypeCode;
	}
	
	public static void main(String[] args) {
		System.out.println(getUserTypeCode(IS_NOT_ADMIN));
	}
	
}
